<?php
$this->pageTitle=Yii::app()->name . ' - Đăng nhập';
 $this->widget('MyBreadcrumbs', array(
    'links'=>array( 'Đăng nhập'),
)); 
?>

<?php $box = $this->beginWidget('bootstrap.widgets.TbBox', array(
	'title' => 'Đăng nhập',
	'headerIcon' => 'icon-th-list',
	'htmlOptions' => array('class'=>'bootstrap-widget-table', 'style'=>'width: 400px; margin:auto; margin-top: 30px;')
));?>

<div class="modal-body">
<?php 
$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
    'id'=>'login-form',
	'enableClientValidation'=>true,
	'clientOptions'=>array(
		'validateOnSubmit'=>true,
	),
)); ?>

		<?php echo $form->textFieldRow($model,'username',array('style'=>'width:95%;')); ?>
		<?php echo $form->passwordFieldRow($model,'password',array('style'=>'width:95%;')); ?>

	</div>
	<div class="modal-footer">
		<?php $this->widget('bootstrap.widgets.TbButton', array(
    'label'=>'Đăng nhập',
    'type'=>'success', // null, 'primary', 'info', 'success', 'warning', 'danger' or 'inverse'
	'icon'=>'ok',
    'size'=>'small', // null, 'large', 'small' or 'mini'
	'buttonType'=>'submit'
)); ?>
	</div>

<?php $this->endWidget(); ?>

<?php $this->endWidget();?>
